export function orgSelectAppColumns() {
  return [
      {
        type: "selection",
        width: 45,
        align: "center"
      },
      {
        title: `${this.$t("module.appManage.appCode")}`,
        key: "clientId",
      },
      {
        title: this.$t("module.appManage.appName"),
        key: "appName",
      },
      {
        title: this.$t("module.appManage.domainName"),
        key: "domainName"
      },
      // {
      //   title: this.$t("module.appManage.tenant"),
      //   align: "left",
      //   key: "tenantName"
      // },
              {
        title: this.$t("module.appManage.clientSecretPlaintext"),
        key: "clientSecretPlaintext"
      },
      {
        title: this.$t("common.status"),
        // align: "left",
        key: "enabled",
        // minWidth: 80,
        render: (h, params) => {
          return h(
            "StatusButton",
            {
              props: {
                status: params.row.enabled == 1 ? "0" : "1"
              }
            },
            params.row.enabled == 1 ? this.$t("common.enable") : this.$t("common.disable")
          );
        }
      },
  ];
}
